package com.wzd.mphelper.mphelpertest.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzd.mphelper.mphelpertest.consts.SuffixPreConsts;
import com.wzd.mphelper.mphelpertest.subtable.shard.Shardable;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId("id")
    private Long id;

    @TableField("name")
    private String name;

}
